<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <title>MD Editor</title>
    <link rel="stylesheet" href="editor.md/css/editormd.min.css" />
    <link rel="stylesheet" href="editor.md/lib/katex/katex.min.css" />
    <link rel="stylesheet" href="css/editor.css" />
    <script src="editor.md/jquery.min.js"></script>
    <script src="editor.md/editormd.min.js"></script>
    <script src="editor.md/lib/katex/katex.min.js"></script>
    <script src="editor.md/lib/katex/auto-render.min.js"></script>
    <script src="js/diff_match_patch.js"></script>
    <script src="js/jszip.js"></script>
    <script src="js/html2canvas.min.js"></script>
    <script src="js/editor.js"></script>
</head>
<body>
    <div class="container">
        <div class="image-sidebar" id="imageSidebar">
            <!-- 图片列表将通过 JavaScript 动态加载 -->
        </div>
        
        <div class="main-content">
            <div class="header">
                <div class="header-info">
                    <div class="project-info">
                        <div class="project-name">
                            <span>当前项目：</span>
                            <span id="projectName" class="project-title"></span>
                        </div>
                        <div id="lastModified" class="last-modified">等待更新...</div>
                    </div>
                    <button class="logout-btn" onclick="logout()">退出</button>
                </div>
            </div>
            <div id="editor" class="editor-container"></div>
        </div>
    </div>
    <div id="loading" class="loading"></div>
</body>
</html>
